class Picdata < ActiveRecord::Base
  self.per_page = 20
  attr_accessible :name, :pic
  has_attached_file :pic, :styles => { 
  		:medium => "440x5000>", 
  		:thumb => "150x150>"
   },
   	:url => "/system/:attachment/:id/:style/:basename.:extension",
	:path => ":rails_root/public/system/:attachment/:id/:style/:basename.:extension"
end
